﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class inputcode : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            if (code.Value.Length == 8)
            {
                Response.Redirect("http://www.cmuam.site/EQInfo.aspx?i=" + code.Value
               , false);
            }
            else
            {
                Label1.Text = "维修码应为6位，输入有误！";
            
            }
        }
    }
}